package research.domain;

import java.util.Set;

import research.entity.Entity;
import research.entity.EntityType;

public final class Calander extends Entity {
	private String name;
	private String location;
	private String description;
	private Set<Application> applications;
	private Set<Sample> samples;
	private Set<Parameter> parameters;

	public Calander() {
		super(EntityType.Calander);
	}

	@Override
	public String getDisplayName() {
		return this.getName();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<Sample> getSamples() {
		return samples;
	}

	public void setSamples(Set<Sample> samples) {
		this.samples = samples;
	}

	public Set<Parameter> getParameters() {
		return parameters;
	}

	public void setParameters(Set<Parameter> parameters) {
		this.parameters = parameters;
	}
	
	public Set<Application> getApplications() {
		return applications;
	}

	public void setApplications(Set<Application> applications) {
		this.applications = applications;
	}

	public static Calander getNew() {
		Calander cal = new Calander();
		cal.setName("");
		cal.setLocation("");
		cal.setDescription("");
		return cal;
	}

}
